<%--
  Created by IntelliJ IDEA.
  User: dylan
  Date: 2022/8/26
  Time: 11:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="${pageContext.request.contextPath}/statics/layui/css/layui.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/statics/layui/layui.js"></script>
</head>
<body>

<div>
    <p>水果详情</p>
    <table class="layui-table">
        <tr>
            <td>类别:</td>
            <td>${requestScope.fruit.type}</td>
        </tr>
        <tr>
            <td>品种:</td>
            <td>${requestScope.fruit.breed}</td>
        </tr>
        <tr>
            <td>产地:</td>
            <td>${requestScope.fruit.area}</td>
        </tr>
        <tr>
            <td>简介:</td>
            <td>${requestScope.fruit.brief}</td>
        </tr>
        <tr>
            <td>图片:</td>
            <td>
                <img src="${pageContext.request.contextPath}/statics/${requestScope.fruit.pic}">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <a href="javascript:history.back();">返回</a>
            </td>
        </tr>
    </table>
</div>
</body>
</html>
